package kin.serviceIMP.security;



import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

import kin.bean.security.Button;
import kin.service.security.ButtonServiceManager;


import kin.serviceIMP.system.BaseServiceManagerIMP;







import org.springframework.stereotype.Service;

@Service
public class ButtonServiceManagerIMP extends BaseServiceManagerIMP<Button>   implements ButtonServiceManager {

	public void deleteByUrl(String url){
	try {
		Object o=this.getObject();
		Method m=this.getObject().getClass().getMethod("deleteByUrl", String.class);
		m.invoke(o, url);
	} catch (IllegalAccessException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	} catch (IllegalArgumentException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	} catch (InvocationTargetException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	} catch (NoSuchMethodException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	} catch (SecurityException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	}
	}
	
	

}